package org.dtrd.modules.patient.entity.bean;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import org.dtrd.modules.patient.entity.po.DtrdRlPatientTag;
import java.util.Date;

/**
 * <p>
 * 患者标签关系表
 * </p>
 *
 * @author QR
 * @since 2022-03-08
 */
@Getter
@Setter
@ApiModel(value = "患者标签关系表详情")
public class PatientTagDetail {

    private Integer dataId;

    @ApiModelProperty("标签id")
    private Integer tagId;

    @ApiModelProperty("患者id")
    private Integer patientId;



    public PatientTagDetail parseFromPO(DtrdRlPatientTag po) {
        dataId = po.getDataId();
        tagId = po.getTagId();
        patientId = po.getPatientId();
        return this;
    }
}
